Add security workflows pre-commit hooks, dependency review, CodeQL#202
Merged
rahuldevikar761 merged 3 commits intomainfrom Feb 10, 2026
Merged
Add security workflows pre-commit hooks, dependency review, CodeQL#202rahuldevikar761 merged 3 commits intomainfrom
rahuldevikar761 merged 3 commits intomainfrom
Conversation
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Files
|
Contributor
There was a problem hiding this comment.
Pull request overview
Adds baseline security automation to the repo via local pre-commit hooks and GitHub Actions workflows, aiming to catch secrets, vulnerable dependencies, and CodeQL findings earlier in the development lifecycle.
Changes:
- Add a
.pre-commit-config.yamlwith Gitleaks, whitespace/YAML/JSON/XML checks, and adotnet formatverification hook. - Add a Dependency Review workflow to block PRs introducing high-severity vulnerable dependencies and disallowed licenses.
- Add a CodeQL workflow for scheduled and PR/push C# analysis.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
.pre-commit-config.yaml |
Introduces local hooks for secret scanning, file hygiene checks, and .NET formatting verification. |
.github/workflows/dependency-review.yml |
Adds PR-time dependency vulnerability and license policy checks. |
.github/workflows/codeql.yml |
Adds CodeQL scanning for C# on PRs, pushes to main, and a weekly schedule. |
f8dd772 to
91817ee
Compare
JosinaJoy
approved these changes
Feb 10, 2026
tmlsousa
approved these changes
Feb 10, 2026
pontemonti
approved these changes
Feb 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.